Guest User

Untitled

a guest
Jul 15th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.37 KB | None | 0 0
  1. CC=gcc
  2. CFLAGS=-g -Wall -W -Wno-unused-variable -Wno-unused-parameter -DDEBUG -fPIC
  3. LDLIBS=-lrt -lcrypto -L.
  4.  
  5. all: build
  6.  
  7. build: server gateway
  8.  
  9. server: queue.o server.o  libcrypto.so
  10.     $(CC) $(CFLAGS) -o $@ $^ $(LDLIBS)
  11.    
  12. queue.o: queue.c
  13.  
  14. gateway: queue.o gateway.o libcrypto.so
  15.     $(CC) $(CFLAGS) -o $@ $^ $(LDLIBS)
  16.  
  17. clean:
  18.     rm -f server gateway
  19.     rm -f *.o
Add Comment
Please, Sign In to add comment