Commit a611a763 authored by Robert Ricci's avatar Robert Ricci
Browse files

I guess I forgot to commit the makefile for libnetmon.

parent 59339982
SYSTEM := $(shell uname -s)
# I like using -pedantic, but it gives us some trouble with function pointers
CFLAGS=-Wall -Werror
ifeq ($(SYSTEM),Linux)
LD_FLAGS=-ldl
else
LD_FLAGS=
endif
all: libnetmon.so
%.so: %.c %.h
$(CC) $(CFLAGS) $(LD_FLAGS) -shared -o $@ $<
clean:
-rm *.so
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment