Changeset 212 in Main for trunk/Common/Makefile
- Timestamp:
- Oct 3, 2024, 2:44:55 AM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Makefile
r21 r212 1 1 # $Id$ 2 2 3 OBJ=o 4 STATIC=a 5 AR_FLAGS=rcs 3 6 include $(PWD)/Platform/$(PLATFORM).mk 4 7 5 8 .PHONY: all clean 6 .SUFFIXES: .c . o9 .SUFFIXES: .c .$(OBJ) 7 10 8 OBJS = string. o log.o dir.o11 OBJS = string.$(OBJ) log.$(OBJ) dir.$(OBJ) 9 12 10 all: common. a13 all: common.$(STATIC) 11 14 12 common. a: $(OBJS)13 $(AR) rcs$@ $(OBJS)15 common.$(STATIC): $(OBJS) 16 $(AR) $(AR_FLAGS)$@ $(OBJS) 14 17 15 .c. o:18 .c.$(OBJ): 16 19 $(CC) $(CFLAGS) -c -o $@ $< 17 20 18 21 clean: 19 rm -f *.o *.a 22 rm -f *.o *.a *.lib
Note:
See TracChangeset
for help on using the changeset viewer.