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 PROG := a2m
SRC := a2m.c SRC := a2m.c
CC := cc CC := cc
CFLAGS += -g -Wall CFLAGS += -g -std=c99 -Wall
UNAME := $(shell sh -c 'UNAME -s 2>/dev/null') UNAME := $(shell sh -c 'UNAME -s 2>/dev/null')

1
a2m.c
View File

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