Skip to content

Commit

Permalink
add 32bit makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Koroy committed Mar 21, 2018
1 parent 2f38400 commit bf616e8
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Makefile32.release
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
APP = ./tcpmerge
CC=gcc -m32
CFLAGS= -static -ldl -lrt -lpthread -Wall -Wextra

all: $(APP)

$(APP): tcpmerge.o pcap_file_generator.o pcap_file_reader.o utils.o
$(CC) tcpmerge.o pcap_file_generator.o pcap_file_reader.o utils.o -o $(APP) $(CFLAGS)
tcpmerge.o: tcpmerge.c
$(CC) tcpmerge.c -c -Wall

pcap_file_generator.o: pcap_file_generator.c
$(CC) pcap_file_generator.c -c -Wall

pcap_file_reader.o: pcap_file_reader.c
$(CC) pcap_file_reader.c -c -Wall

utils.o: utils.c
$(CC) utils.c -c -Wall
clean:
rm -f *.o ; rm $(APP)

0 comments on commit bf616e8

Please sign in to comment.