c99 for the assburger

This commit is contained in:
tater 2016-09-10 06:00:26 -05:00
parent e395de1ceb
commit 900c92595f
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
PROG := a2m
SRC := a2m.c
CC := cc
CFLAGS += -g -Wall
CFLAGS += -g -std=c99 -Wall
UNAME := $(shell sh -c 'UNAME -s 2>/dev/null')
@ -15,4 +15,4 @@ default:
$(CC) $(CFLAGS) $(LDFLAGS) $(SRC) -o $(PROG)
clean:
rm -rf $(PROG) $(PROG).dSYM
rm -rf $(PROG) $(PROG).dSYM

1
a2m.c
View File

@ -7,6 +7,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <getopt.h>
#define DEFAULT_FG 7
#define DEFAULT_BG 0