# Link command:
ASCII_RPG: main.o get_res.o loadalleg.o keyboardinput.o
c++ main.o get_res.o loadalleg.o keyboardinput.o -o ASCII_RPG
# Compilation commands:
main.o: main.cpp header.h
c++ -c main.cpp -o main.o
get_res.o: get_res.cpp header.h
c++ -c get_res.cpp -o get_res.o
loadalleg.o: loadalleg.cpp header.h
c++ -c loadalleg.cpp -o loadalleg.o
keyboardinput.o:keyboardinput.cpp header.h
c++ -c keyboardinput.cpp -o keyboardinput.o
The makefile appears to be working, except I need to link the allegro library. I'm pretty sure the command is: $(allegro config --libs), but I don't know where exactly to put it. Any help appreciated. :)