相关代码 |
|
CC = g++ CPP = g++ CFLAGS = -g -Wall -O2 -I../include AR = ar OBJ = debug.o godev_dummy.o DummyServer.o fifo.o SRC = debug.c godev_dummy.c DummyServer.cpp fifo.c all: libgo.a libgo.a: $(OBJ) $(AR) rcs $@ $(OBJ) .c.o: $(CC) $(CFLAGS) -c $ .cpp.o: $(CPP) $(CFLAGS) -c $ clean: rm -f libgo.a rm -f *.o rm -f .depend dep: $(CC) $(CFLAGS) -M $(SRC) > .depend include ../Rules.make
相关资源 |
|