diff options
Diffstat (limited to 'libterm/Makefile')
-rw-r--r-- | libterm/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/libterm/Makefile b/libterm/Makefile index 5cc090c..98962f5 100644 --- a/libterm/Makefile +++ b/libterm/Makefile @@ -1,9 +1,12 @@ +PROJECT=libterm +CC=gcc +LD=ld make: - gcc -c term.c - gcc -c screen_modes.c - gcc -c print_utils.c - ld -r term.o screen_modes.o print_utils.o -o libterm.o + $(CC) -c term.c + $(CC) -c screen_modes.c + $(CC) -c term_io.c + $(LD) -r term.o screen_modes.o term_io.o -o $(PROJECT).o clean: rm *.o |