Sign in

gwj / graphics_tutorial · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Snippets
  • graphics_tutorial
  • makefile
  • Added ttf rendering support
    1b1270fa
    Grzegorz Jabłoński authored
    2022-04-06 20:38:09 +0200  
    Browse Code »
makefile 270 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14
all: testlib

testlib: testlib.o primlib.o
	gcc -g $^ -o $@  -lSDL2_gfx -lSDL2_ttf `sdl2-config --libs`

.c.o: 
	gcc -g -Wall -pedantic `sdl2-config --cflags` -c  $<

primlib.o: primlib.c primlib.h

testlib.o: testlib.c primlib.h

clean:
	-rm primlib.o testlib.o testlib