Makefile (723B)
1 bin = ../../bin 2 lib = ../../lib 3 exe = 4 5 CFLAGS := -O2 -Wall -pipe -falign-functions -fomit-frame-pointer -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 6 7 TARGETS = $(bin)/lat1 $(bin)/utf2 $(bin)/balance $(bin)/ssl $(bin)/httpGate $(bin)/z3dClient 8 9 all: $(TARGETS) 10 11 $(bin)/lat1: lat1.c 12 gcc $(CFLAGS) -o $(bin)/lat1$(exe) lat1.c 13 14 $(bin)/utf2: utf2.c 15 gcc $(CFLAGS) -o $(bin)/utf2$(exe) utf2.c 16 17 $(bin)/balance: balance.c 18 gcc $(CFLAGS) -o $(bin)/balance$(exe) balance.c 19 20 $(bin)/ssl: ssl.c 21 gcc $(CFLAGS) -o $(bin)/ssl$(exe) ssl.c -lssl -lcrypto 22 23 $(bin)/httpGate: httpGate.c 24 gcc $(CFLAGS) -o $(bin)/httpGate$(exe) httpGate.c -lssl -lcrypto 25 26 $(bin)/z3dClient: z3dClient.c 27 gcc $(CFLAGS) -o $(bin)/z3dClient$(exe) z3dClient.c -lXext -lX11