mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 03:34:15 +01:00
19 lines
204 B
Makefile
19 lines
204 B
Makefile
|
.PHONY: all clean
|
||
|
|
||
|
SRCS = patchelf.c
|
||
|
|
||
|
ifeq ($(OS),Windows_NT)
|
||
|
EXE := .exe
|
||
|
else
|
||
|
EXE :=
|
||
|
endif
|
||
|
|
||
|
all: patchelf$(EXE)
|
||
|
@:
|
||
|
|
||
|
patchelf$(EXE): $(SRCS)
|
||
|
$(CC) $(SRCS) -o $@ $(LDFLAGS)
|
||
|
|
||
|
clean:
|
||
|
$(RM) patchelf$(EXE)
|