Changeset 1338 for trunk/psLib/src/dataManip/Makefile
- Timestamp:
- Jul 29, 2004, 11:43:11 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/dataManip/Makefile (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/dataManip/Makefile
r1264 r1338 13 13 psFFT.o \ 14 14 psMinimize.o \ 15 15 16 OBJS = $(addprefix makedir/,$(SRC_OBJS)) 17 16 18 all: $(TARGET_STATIC) 17 19 … … 21 23 # Rule to make static library 22 24 23 libpslib.a: $( SRC_OBJS)25 libpslib.a: $(OBJS) 24 26 # The ar option -r is to add/replace object and -s is to create 25 27 # a symbol table in the archive 26 $(AR) rcs ../$@ $( SRC_OBJS)28 $(AR) rcs ../$@ $(OBJS) 27 29 28 30 # Define PHONY target "install" which will install necessary files … … 37 39 clean: 38 40 @echo " Deleting intermediate files for 'sysUtils'" 39 $(RM) $(SRC_OBJS) *.lint $(SRC_OBJS:.o=.i) 41 $(RM) $(OBJS) *.lint $(SRC_OBJS:.o=.i) 42 43 cleandep: 44 $(RM) $(OBJS:.o=.d) 40 45 41 46 %.lint: %.c … … 45 50 $(CC) -E $(CFLAGS) -o $@ $< 46 51 47 %.o: %.i 52 makedir/%.o: %.c 48 53 $(CC) -c $(CFLAGS) -o $@ $< 49 54 50 %.d: %.c55 makedir/%.d: %.c 51 56 $(CC) -MM $(CFLAGS) $< > $@.tmp 52 sed 's /\($*\)\.o[ :]*/\1.o $@ : /g' $@.tmp > $@57 sed 's|\($*\)\.o[ :]*|\1.o $@ : |g' $@.tmp > $@ 53 58 $(RM) -f $@.tmp 54 59 55 include $( SRC_OBJS:.o=.d)60 include $(OBJS:.o=.d)
Note:
See TracChangeset
for help on using the changeset viewer.
