CFLAGS +=
LDFLAGS := -lm
OBJECTS :=
cyber-rat: lib
$(CC) $(CFLAGS) $(OBJECTS) src/main.c $(LDFLAGS) -o cyber-rat
all: cyber-rat
lib: $(OBJECTS)
clean:
$(RM) $(OBJECTS) cyber-rat
obj/%.o: src/%.c
$(CC) $(CFLAGS) -c $^ -o $@