Skip to content
Snippets Groups Projects
Commit 14ce9b18 authored by arn2's avatar arn2
Browse files

Add submodule

parent 6aafe9b3
No related branches found
No related tags found
No related merge requests found
[submodule "git-tutorial-submodule"]
path = git-tutorial-submodule
url = https://gitlab-beta.engr.illinois.edu/arn2/git-tutorial-submodule
src = $(wildcard *.c)
obj = $(src:.c=.o)
src = main.c git-tutorial-submodule/func.c
inc = git-tutorial-submodule
main: $(obj)
$(CC) -o $@ $^
$(CC) $(src) -I $(inc) -o $@ $^
.PHONY: clean
clean:
rm -f $(obj) myprog
rm -f $(obj) main
Subproject commit bab00d828873d96bd237d9b96426f7b9a99b1393
#include <stdio.h>
#include "func.h"
int main() {
func();
printf("Hello new flight software members!\n");
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment