Update makefile
This commit is contained in:
parent
dd703c3221
commit
35ba580398
4
makefile
4
makefile
@ -11,7 +11,7 @@ LDFLAGS = -lsfml-graphics -lsfml-window -lsfml-system
|
|||||||
|
|
||||||
.PHONY: all run clean
|
.PHONY: all run clean
|
||||||
|
|
||||||
all: $(TARGET) $(OBJD)
|
all: $(TARGET)
|
||||||
|
|
||||||
$(TARGET): $(OBJS)
|
$(TARGET): $(OBJS)
|
||||||
$(CC) $^ -o $(TARGET) $(LDFLAGS) $(CCFLAGS)
|
$(CC) $^ -o $(TARGET) $(LDFLAGS) $(CCFLAGS)
|
||||||
@ -23,6 +23,6 @@ $(OBJS): $(OBJD)/%.o: %.cpp
|
|||||||
clean:
|
clean:
|
||||||
rm -r $(TARGET) $(OBJD)
|
rm -r $(TARGET) $(OBJD)
|
||||||
|
|
||||||
run:
|
run: main
|
||||||
./$(TARGET)
|
./$(TARGET)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user