pls
This commit is contained in:
parent
c070b1a8a9
commit
b8eae458a5
10
du8/Makefile
10
du8/Makefile
@ -5,17 +5,17 @@ OBJS=main.o game.o world.o
|
|||||||
all: game
|
all: game
|
||||||
|
|
||||||
game: $(OBJS)
|
game: $(OBJS)
|
||||||
$(CC) $(CFLAGS) $(OBJS) -lncurses -o game
|
$(CC) $(CFLAGS) $(OBJS) -lncurses -o game
|
||||||
|
|
||||||
main.o: main.c game.h world.h
|
main.o: main.c game.h world.h
|
||||||
$(CC) $(CFLAGS) -c main.c
|
$(CC) $(CFLAGS) -c main.c
|
||||||
|
|
||||||
game.o: game.c game.h world.h
|
game.o: game.c game.h world.h
|
||||||
$(CC) $(CFLAGS) -c game.c
|
$(CC) $(CFLAGS) -c game.c
|
||||||
|
|
||||||
world.o: world.c world.h
|
world.o: world.c world.h
|
||||||
$(CC) $(CFLAGS) -c world.c
|
$(CC) $(CFLAGS) -c world.c
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o game
|
rm -f *.o game
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user