mirror of https://github.com/ntop/n2n.git
Browse Source
When building on win32 systems, simply add the win32 specific functions to the libn2n.a, which simplifies the commands needed. By moving the win32 source code into the src directory, the source code is better consolidated.pull/1142/head
Hamish Coleman
1 year ago
16 changed files with 10 additions and 40 deletions
@ -1,19 +0,0 @@ |
|||||
#
|
|
||||
# This is not a standalone makefile, it must be called from the toplevel
|
|
||||
# makefile to inherit the correct environment
|
|
||||
|
|
||||
CFLAGS+=-I../include -I. |
|
||||
LDFLAGS+=-L.. |
|
||||
|
|
||||
.PHONY: all clean install |
|
||||
|
|
||||
all: n2n_win32.a |
|
||||
|
|
||||
n2n_win32.a: getopt1.o getopt.o wintap.o |
|
||||
$(AR) rcs $@ $+ |
|
||||
|
|
||||
clean: |
|
||||
rm -rf n2n_win32.a *.o *.gcno *.gcda |
|
||||
|
|
||||
install: |
|
||||
true |
|
Loading…
Reference in new issue