Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LDFLAGS=-lssl -lcrypto
- CFLAGS=-g -D OPENSSL_NO_KRB5 -Wall
- all: amlpkcs12 amld
- amlpkcs12:amlpkcs12.o
- $(CC) amlpkcs12.o -o amlpkcs12 $(LDFLAGS)
- amld: amld.o iot.o bridge.o sysconf.o
- $(CC) bridge.o iot.o amld.o sysconf.o -Wextra -o amld $(LDFLAGS)
- amlpkcs12.o: amlpkcs12.c
- $(CC) $(CFLAGS) -c amlpkcs12.c
- amld.o: amld.c
- $(CC) $(CFLAGS) -c -DVERSION=\"1.0\" amld.c
- sysconf.o: sysconf.c sysconf.h
- $(CC) $(CFLAGS) -c sysconf.c
- bridge.o:bridge.c bridge.h iot.h
- $(CC) $(CFLAGS) -c bridge.c
- iot.o: iot.c iot.h
- $(CC) $(CFLAGS) -c iot.c
- clean:
- rm *.o amlpkcs12 amld
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement