Ajoute les informations pour compiler

This commit is contained in:
clement committed 2023-01-02 15:29:50 +01:00
1 parent fc8a8ac998
commit 4fb0450d60
15 files changed
+50 -7

No files matched your search

+3
View File
@@ -12,6 +12,9 @@ testGuess: build/mimetype.o build/testGuess.o
build/mimetype.o: src/mimetype.c src/mimetype.h | build
$(CC) $(CFLAGS) -c $< -o $@
build/mimetype.a: build/mimetype.o
ar rcs $@ $^
build/testGuess.o: test/testGuess.c src/mimetype.h | build
$(CC) $(CFLAGS) -Isrc/ -c $< -o $@