CC=gcc

all: sdl txdv draw

sdl:
	$(CC) `sdl-config --libs --cflags` -o sdl sdl.c

txdv: txdv.c
	$(CC) `sdl-config --libs --cflags` -o txdv txdv.c

draw: drawm.c
	$(CC) drawm.c -o drawm -L/usr/local/lib -I/usr/local/include -lXm -lXt -lX11
