mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2024-12-26 01:51:56 +01:00
13 lines
263 B
Makefile
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 $@ $<
|