Commit Diff


commit - 2b40343521c9020cfb667f0b16878cbb7252b348
commit + 49dc9b41403a196ce45e2e00e0b8a2dfe281e4e3
blob - cd2dc80b9bbf2149066dfbd384f57dce5b114064
blob + 4232870423bd765e399806a071c1b583a5ebc8dd
--- Makefile
+++ Makefile
@@ -1,7 +1,7 @@
 # use tcc to compile
-CC = tcc
+CC = cc
 # -Wall: turn on most, but not all, compiler warnings
-CFLAGS = -Wall
+CFLAGS = -Wall -std=c99 -pedantic
 # the target executable file
 TARGET = id3r
 
@@ -11,7 +11,7 @@ default: $(TARGET)
 # to build the TARGET executable file we need the source files
 # id3v1.o
 $(TARGET): id3v1.o
-	$(CC) $(CFLAGS) -o $(TARGET) id3v1.o
+	$(CC) $(CFLAGS) -o $(TARGET) id3v1.o id3r.c
 
 # to create the object file id3v1.o we need the source files
 # id3v1.c