17 lines
178 B
Makefile
17 lines
178 B
Makefile
EXEC=gdt.o
|
|
|
|
|
|
all:$(EXEC)
|
|
|
|
#----- GDT -----
|
|
$(EXEC): gdt.c
|
|
$(CC) $(CFLAGS) -c -o $(EXEC) $^
|
|
#---------------
|
|
|
|
|
|
#----- Other -----
|
|
.PHONY:clean
|
|
|
|
clean:
|
|
-rm *.o
|
|
#----------------
|