src/Makefile

changeset 6
daaf6e5b3501
parent 5
f7dfef88947d
child 10
1347e4dabac0
equal deleted inserted replaced
5:f7dfef88947d 6:daaf6e5b3501
31 SRC = main.c 31 SRC = main.c
32 SRC += network.c 32 SRC += network.c
33 SRC += input.c 33 SRC += input.c
34 SRC += server.c 34 SRC += server.c
35 SRC += client.c 35 SRC += client.c
36 SRC += game.c
36 37
37 OBJ = $(SRC:%.c=../build/%$(OBJ_EXT)) 38 OBJ = $(SRC:%.c=../build/%$(OBJ_EXT))
38 39
39 all: $(OBJ) 40 all: $(OBJ)
40 $(LD) -o ../build/$(BIN) $^ $(LDFLAGS) 41 $(LD) -o ../build/$(BIN) $^ $(LDFLAGS)

mercurial