# This is a simple makefile for making "mytest". # Note leave a tab instead of spaces in front of $(CC) CC=gcc CFLAGS=-g -Wall mytest: mytest.o mytest.h $(CC) $(CFLAGS) -o mytest mytest.o mytest.o: mytest.c mytest.h $(CC) $(CFLAGS) -c mytest.c