Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CC=gcc
- CFLAGS=-g -Wall -W -Wno-unused-variable -Wno-unused-parameter -DDEBUG -fPIC
- LDLIBS=-lrt -lcrypto -L.
- all: build
- build: server gateway
- server: queue.o server.o libcrypto.so
- $(CC) $(CFLAGS) -o $@ $^ $(LDLIBS)
- queue.o: queue.c
- gateway: queue.o gateway.o libcrypto.so
- $(CC) $(CFLAGS) -o $@ $^ $(LDLIBS)
- clean:
- rm -f server gateway
- rm -f *.o
Add Comment
Please, Sign In to add comment