0
0
Fork 0
mirror of https://git.do.srb2.org/STJr/SRB2.git synced 2025-01-14 13:51:43 +00:00
SRB2/tools/LevelConverter/Makefile

17 lines
452 B
Makefile
Raw Normal View History

2014-03-15 16:59:03 +00:00
# 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)