mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-15 01:01:43 +00:00
16 lines
452 B
Makefile
16 lines
452 B
Makefile
# Makfile for SRB2 Level Converter
|
|
# by Alam Arias et al.
|
|
|
|
SRC=levelconverter.c
|
|
OBJ=$(SRC:.c=.o)# replaces the .c from SRC with .o
|
|
EXE=LevelConverter
|
|
|
|
.PHONY : all # .PHONY ignores files named all
|
|
all: $(EXE) # all is dependent on $(BIN) to be complete
|
|
|
|
$(EXE): $(OBJ) # $(EXE) is dependent on all of the files in $(OBJ) to exist
|
|
$(CC) $(OBJ) $(LDFLAGS) -o $@
|
|
|
|
.PHONY : clean # .PHONY ignores files named clean
|
|
clean:
|
|
-$(RM) $(OBJ) $(EXE)
|