Changeset 346
- Timestamp:
- Dec 7, 2011, 2:05:57 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/thirds/cgic206/Makefile
r308 r346 1 1 OS:=$(shell uname -s) 2 CPU:=$(shell uname -m) 2 3 ifeq ($(OS),Darwin) 3 4 MACOS_CFLAGS=-arch x86_64 4 5 LIBS= -L./ -lcgic /usr/lib/libfcgi.dylib 5 6 else 7 ifeq ($(CPU),x86_64) 8 LIBS= -L./ -lcgic /usr/lib64/libfcgi.so 9 else 6 10 LIBS= -L./ -lcgic /usr/lib/libfcgi.a 11 endif 7 12 endif 8 13 CFLAGS=-g -Wall ${MACOS_CFLAGS} … … 14 19 15 20 install: libcgic.a 21 mkdir -p ../../dist/lib 16 22 cp libcgic.a ../../dist/lib 17 cp cgic.h ../../dist/ /include18 @echo libcgic.a is in ../../dist/lib and cgic.h is in ../../dist//include.23 cp cgic.h ../../dist/include 24 @echo libcgic.a is in ../../dist/lib/ and cgic.h is in ../../dist/include/ 19 25 20 26 libcgic.a: cgic.o cgic.h
Note: See TracChangeset
for help on using the changeset viewer.