Skip to content

Commit

Permalink
Simplify Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
julek-wolfssl committed Oct 7, 2022
1 parent 9ec4f1d commit 0460ce2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ LIBS=-levent

all:udp_proxy tcp_proxy

udp_proxy:udp_proxy.o
$(CC) -o $@ $^ $(CFLAGS) $(CPPFLAGS) $(LIBS)

tcp_proxy:tcp_proxy.o
%: %.c
$(CC) -o $@ $^ $(CFLAGS) $(CPPFLAGS) $(LIBS)

.PHONY: clean all
Expand Down

0 comments on commit 0460ce2

Please sign in to comment.