Skip to content

Algoritmos e Estruturas de Dados 3 (DCC005) - Trabalhos Práticos (UFMG)

License

Notifications You must be signed in to change notification settings

urbanogilson/AEDS3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AEDS3

Algoritmos e Estruturas de Dados 3 - Trabalhos Práticos (UFMG)

Quickstart

Example

Code

// main.c
#include <stdio.h>

int main(void)
{
  printf("Hello World!\n");
}

Makefile

C_OBJS = main.o
CFLAGS = -Wall -Wextra -Werror -std=c99 -pedantic
LDFLAGS = -lm
EXEC = example

${EXEC}: ${C_OBJS}
	${CC} -o $@ ${C_OBJS} ${LDFLAGS}

main.o: main.c
	${CC} -c $? ${CFLAGS}

run:
	./${EXEC}

clean:
	rm -f *.o ${EXEC}

Compile

$ make

Run

$ make run
./example
Hello World!

License

The contents of this repository are covered under the MIT License.

About

Algoritmos e Estruturas de Dados 3 (DCC005) - Trabalhos Práticos (UFMG)

Topics

Resources

License

Stars

Watchers

Forks