makefiles: strip mac executables

This commit is contained in:
bol-van 2021-03-05 21:17:21 +03:00
parent 00ca862068
commit bd571f3abe
4 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,7 @@ bsd: $(SRC_FILES)
mac: $(SRC_FILES) mac: $(SRC_FILES)
$(CC) $(CFLAGS) $(CFLAGS_BSD) $(CFLAGS_MAC) -o ip2net $(SRC_FILES) $(LDFLAGS) $(LIBS) $(CC) $(CFLAGS) $(CFLAGS_BSD) $(CFLAGS_MAC) -o ip2net $(SRC_FILES) $(LDFLAGS) $(LIBS)
strip ip2net
clean: clean:
rm -f ip2net *.o rm -f ip2net *.o

View File

@ -16,6 +16,7 @@ bsd: $(SRC_FILES)
mac: $(SRC_FILES) mac: $(SRC_FILES)
$(CC) $(CFLAGS) $(CFLAGS_BSD) $(CFLAGS_MAC) -o mdig $(SRC_FILES) $(LDFLAGS) $(LIBS) $(CC) $(CFLAGS) $(CFLAGS_BSD) $(CFLAGS_MAC) -o mdig $(SRC_FILES) $(LDFLAGS) $(LIBS)
strip mdig
clean: clean:
rm -f mdig *.o rm -f mdig *.o

View File

@ -17,6 +17,7 @@ bsd: $(SRC_FILES)
mac: $(SRC_FILES) mac: $(SRC_FILES)
$(CC) $(CFLAGS) $(CFLAGS_BSD) $(CFLAGS_MAC) -o dvtws $(SRC_FILES) $(LDFLAGS) $(LIBS_BSD) $(CC) $(CFLAGS) $(CFLAGS_BSD) $(CFLAGS_MAC) -o dvtws $(SRC_FILES) $(LDFLAGS) $(LIBS_BSD)
strip dvtws
clean: clean:
rm -f nfqws dvtws *.o rm -f nfqws dvtws *.o

View File

@ -16,6 +16,7 @@ bsd: $(SRC_FILES)
mac: $(SRC_FILES) mac: $(SRC_FILES)
$(CC) $(CFLAGS) $(CFLAGS_BSD) $(CFLAGS_MAC) -Iepoll-shim/include -Imacos -o tpws $(SRC_FILES) epoll-shim/src/*.c $(LDFLAGS) $(LIBS) $(CC) $(CFLAGS) $(CFLAGS_BSD) $(CFLAGS_MAC) -Iepoll-shim/include -Imacos -o tpws $(SRC_FILES) epoll-shim/src/*.c $(LDFLAGS) $(LIBS)
strip tpws
clean: clean:
rm -f tpws *.o rm -f tpws *.o