genode/repos/libports/src/test/lwip/http_srv_connect/Makefile
Norman Feske ca971bbfd8 Move repositories to 'repos/' subdirectory
This patch changes the top-level directory layout as a preparatory
step for improving the tools for managing 3rd-party source codes.
The rationale is described in the issue referenced below.

Issue #1082
2014-05-14 16:08:00 +02:00

24 lines
356 B
Makefile

TARGET = httpsrv_connect
SRC = main.c net.c
CFLAGS = -Wall -Wextra -Wno-unused
ifeq ($(time),1)
CC_DEF += -DUGLY_MEASURE_TIME
endif
LDFLAGS = -pthread
OBJS = $(SRC:.c=.o)
.PHONY: clean
all: $(TARGET)
$(TARGET): $(OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@
.c.o:
$(CC) -c $(CFLAGS) $(CC_DEF) $^ -o $@
clean:
-rm -rf ./$(TARGET) ./*.o