uz to neni ansi

This commit is contained in:
det-fys 2024-12-30 19:21:45 +01:00
parent c69def07a3
commit b43f8411eb
3 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,5 @@
CC = gcc CC = gcc
CFLAGS = -Wall -pedantic -ansi CFLAGS = -Wall -pedantic
LDFLAGS = -lm LDFLAGS = -lm
BIN = graph.exe BIN = graph.exe
OBJ = errors.o lex.o main.o math_functions.o parser.o ps_graph.o tree.o OBJ = errors.o lex.o main.o math_functions.o parser.o ps_graph.o tree.o
@ -8,5 +8,5 @@ OBJ = errors.o lex.o main.o math_functions.o parser.o ps_graph.o tree.o
$(CC) -c $(CFLAGS) $< -o $@ $(CC) -c $(CFLAGS) $< -o $@
$(BIN): $(OBJ) $(BIN): $(OBJ)
$(CC) $(LDFLAGS) $^ -o $@ $(CC) $^ -o $@ $(LDFLAGS)

View File

@ -1,5 +1,5 @@
BIN = graph.exe BIN = graph.exe
OBJ = errors.o lex.o main.o parser.o ps_graph.o tree.o OBJ = errors.o lex.o main.o math_functions.o parser.o ps_graph.o tree.o
.c.obj: .c.obj:
cl $< /c cl $< /c

View File

@ -1,5 +1,6 @@
#include "ps_graph.h" #include "ps_graph.h"
#include <math.h> #include <math.h>
#include <stdio.h>
#define TEMP_BUF_SIZE 128 #define TEMP_BUF_SIZE 128