WiiUPluginSystem/tools/udp_debug_reader/Makefile
2018-02-04 10:40:20 +01:00

13 lines
263 B
Makefile

CC=gcc
CFLAGS=-c -Wall
LDFLAGS=
SOURCES:= $(wildcard source/*.c)
OBJ_FILES = $(patsubst source/%.c,obj/%.o,$(SOURCES))
EXECUTABLE=UdpDebugReader
$(EXECUTABLE): $(OBJ_FILES)
$(CC) $(LDFLAGS) -o $@ $^
obj/%.o: source/%.c
mkdir obj; $(CC) $(CFLAGS) -c -o $@ $<