pang-o-lin/Makefile

12 lines
436 B
Makefile
Raw Normal View History

CFLAGS ?= -Iinclude
all: build build/test-get-set-cluster build/test-mkfs-simple
build:
mkdir build
build/test-get-set-cluster: tests/get-set-cluster.c src/fat12.c include/fat12.h
$(CC) $(CFLAGS) tests/get-set-cluster.c src/fat12.c -o build/test-get-set-cluster
build/test-mkfs-simple: tests/mkfs-simple.c src/fat12.c include/fat12.h src/mkfat.c src/io.c
$(CC) $(CFLAGS) tests/mkfs-simple.c src/mkfat.c src/fat12.c src/io.c -o $@